package com.supcalls.entity;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.time.LocalDateTime;

@Data
@TableName("distributed_lock")
public class DistributedLock {

    @TableId
    private String lockKey;  // 锁的唯一标识

    private LocalDateTime lockedAt;  // 锁定时间

    private LocalDateTime timeoutAt;  // 锁的超时时间
}
